package com.mz.auth;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author: soulcoder
 * @datetime: 2020/6/18 18:00
 * @description: TODO
 */
@EnableDiscoveryClient
@EnableFeignClients(value="com.mz.user.api")
@SpringBootApplication(scanBasePackageClasses = {MzAuthApp.class},
        scanBasePackages = "com.mz.user.api")
@MapperScan("com.mz.auth.mapper")
public class MzAuthApp {
    public static void main(String[] args) {
        SpringApplication.run(MzAuthApp.class, args);
    }
}
